/**
 * @date 4:09:15 PM
 * IEducationAdminService.java
 * Administrator
 * TODO
 */
package com.qs.education.service;

import org.springframework.stereotype.Service;
import com.qs.education.bean.beans.EducationAdminResponse;

/**
 * @class IEducationAdminService
 * @author Brooks
 * @description 
 * @date Oct 17, 2018
 */
@Service
public interface IAdminAPIService {
	/**
	 * @description 根据用户名和密码得到当前管理员
	 * @user Brooks
	 * @date Oct 17, 2018
	 * @return EducationAdminBean
	 */
	public EducationAdminResponse getEducationAdmin(String name,String password);

	/**
	 * 根据用户名获取用户信心
	 * @author Arwen Liu
	 * @date 2018-11-01
	 * @param name 用户名
	 * @return EducationAdminResponse
	 */
	public EducationAdminResponse findAdminByName(String name);

	/**
	 * @Description 更改管理员密码
	 * @author Jason
	 * @date Nov 15, 2018
	 * @param name
	 * @param oldPassword
	 * @param newPassword
	 * @return
	 */
	public EducationAdminResponse updateAdmin(String name, String oldPassword, String newPassword);

	
	
	
}
